//
//  FKTableViewCellStyleSet.h
//  FKPullMenuDemo
//
//  Created by 云眼科技 on 16/7/14.
//  Copyright © 2016年 CloudEyes. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+FKAdd.h"

NS_ASSUME_NONNULL_BEGIN


@interface FKImageView : UIImageView   
/** set the imageView cornerradius */
@property (nonatomic, assign) BOOL isRoundRect;
@end

@interface FKLabel : UILabel
@end


#pragma mark - ========================= DefaultCell =========================

@interface FKDefaultTableViewCell : UITableViewCell

@property (nonatomic, strong) FKImageView *iconView;
@property (nonatomic, strong) FKLabel *descriptionLabel;

@end

#pragma mark - ========================= NewsCell =========================
@interface FKNewsTableViewCell : UITableViewCell

@end

#pragma mark - ========================= SubtitleCell =========================
@interface FKTSubtitleTableViewCell : UITableViewCell

@end

#pragma mark - ========================= ChatCell =========================
@interface FKChatTableViewCell : UITableViewCell

@end

#pragma mark - ========================= TextCell =========================
@interface FKTextTableViewCell : UITableViewCell

@property (nonatomic, strong) FKLabel *nameLabel;
@property (nonatomic, strong) FKLabel *desLabel;

@end

#pragma mark - ========================= NewFeatureCell =========================
@interface FKNewFeatureTableViewCell : UITableViewCell

@end

#pragma mark - ========================= IndicatorCell =========================
@interface FKIndicatorTableViewCell : UITableViewCell

@end

#pragma mark - ========================= DownloadCell =========================

/**
 DownloadCell delegate, used to refresh cell's downloadBtn state or title. 
 */
@protocol FKDownloadCellDelegate <NSObject>
@optional
-(void)FKDownloadCellDidPressedButtonForIndexPath:(NSIndexPath *)indexPath;
@end

@interface FKDownloadTableViewCell : UITableViewCell

@property (nonatomic, weak) id <FKDownloadCellDelegate> delegate;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) UIImageView *iconView;
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, strong) UILabel *sizeLabel;
@property (nonatomic, strong) UILabel *speedLabel;
@property (nonatomic, strong) UILabel *leftTimeLabel;
@property (nonatomic, strong) UIProgressView *progressView;
@property (nonatomic, strong) UIButton *downloadBtn;

@end

@interface FKTableViewCellStyleSet : NSObject
@end

NS_ASSUME_NONNULL_END